package com.lagou.server.mapper;

import java.util.HashMap;
import java.util.Map;

/**
 * 映射到 Host
 */
public class MappedHost extends MapElement {

    private String name;
    private String appBase;

    private Map<String, MappedContext> contextMap = new HashMap<>();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAppBase() {
        return appBase;
    }

    public void setAppBase(String appBase) {
        this.appBase = appBase;
    }

    public Map<String, MappedContext> getContextMap() {
        return contextMap;
    }

    public void setContextMap(Map<String, MappedContext> contextMap) {
        this.contextMap = contextMap;
    }
}
